@charset "utf-8";
@import "reset";

.carousel_box{
	width: 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	padding-top: 28.1%;
	overflow: hidden;
	ul{
		position: absolute;
		top:0;
		left: 0;
		width: 100%;
		font-size:0;
		white-space: nowrap;
		transition:all .5s;
		li{
			display: inline-block;
			width: 100%;
			img{
				width: 100%;
			}
		}
	}
	.arrow{
		width: 20%;
		height: 100%;
		position: absolute;
		top:0;
		font-size: 30px;
		font-weight: bold;
		text-align: center;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all .3s;
	}
	.left_arrow{
		left: 0;
		background: linear-gradient(90deg,gray,transparent);
		transform: translate(-200%);
	}
	.right_arrow{
		right: 0;
		background: linear-gradient(-90deg,gray,transparent);
		transform: translate(200%);
	}
	&:hover .arrow{
		transform: translateX(0);
	}
	ol{
		position: absolute;
		bottom: -10%;
		left: 50%;
		transform: translateX(-50%);
		transition: all .3s;
		li{
			width: 15px;
			height: 15px;
			margin: 0 6px;
			background-color: white;
			border-radius: 50%;
			display: inline-block;
			&:hover,&.active{
				background-color: #286090;
			}
		}
	}
	&:hover ol{
		bottom:10%;
	}
}